home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / X11 / config / ibmLib.tmpl < prev    next >
Encoding:
Text File  |  2006-12-20  |  3.5 KB  |  97 lines

  1. XCOMM $Xorg: ibmLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
  2. XCOMM $XdotOrg: util/cf/ibmLib.tmpl,v 1.6 2005/05/19 18:53:42 ajax Exp $
  3.  
  4. /*
  5.  * AIX shared library template
  6.  */
  7.  
  8. XCOMM $XFree86: xc/config/cf/ibmLib.tmpl,v 1.3tsi Exp $
  9.  
  10. /*
  11.  * IBM used an unusual shared object file name in some libraries. 
  12.  * Mimic this behavior to preserve compatibility with IBM's libraries.
  13.  */
  14. #ifndef IBMShr4Compatibility
  15. #define IBMShr4Compatibility    YES
  16. #endif
  17.  
  18. /*
  19.  * Imake thinks lines with colons are the result of a broken cpp
  20.  * inserting extra leading whitespace, so use ',' as a separator.
  21.  */
  22. #if IBMShr4Compatibility
  23.       SHR4OBJLIBS = X11,Xt,oldX,Xm,Mrm,Uil
  24. #endif
  25.  
  26. #if ThreadedX
  27. #define SharedThreadReqs -lpthreads
  28. #define SharedX11Reqs -lpthreads
  29. #else
  30. #define SharedThreadReqs /**/
  31. #endif
  32.  
  33. #define SharedXextReqs    $(XONLYLIB)
  34. #define SharedXmuReqs    $(XTOOLLIB) $(XLIB)
  35. #define SharedXmuuReqs    $(XLIBONLY)
  36. #define SharedOldXReqs    $(XLIBONLY)
  37. #define SharedXtReqs    $(XLIBONLY) $(SMLIB) $(ICELIB) SharedThreadReqs
  38. #define SharedXawReqs    $(XMULIB) $(XTOOLLIB) $(EXTRAXAWREQS) $(XLIB) $(XPMLIB)
  39. #define SharedXaw7Reqs    $(XMULIB) $(XTOOLLIB) $(XLIB) $(XPMLIB)
  40. #define SharedXaw6Reqs    $(XMULIB) $(XTOOLLIB) $(XLIB)
  41. #define SharedXiReqs    $(XLIB)
  42. #define SharedXtstReqs    $(XLIB)
  43. #define SharedXieReqs    $(XONLYLIB)
  44. #define SharedSMReqs    $(ICELIB)
  45. #define SharedXpReqs    $(XLIB)
  46. #define SharedXpmReqs    $(XLIB)
  47. #define SharedDPSReqs    $(XTOOLLIB) $(XLIB)
  48. #define SharedDPSTKReqs    $(DPSLIB) $(XTOOLLIB) $(XLIB)
  49. #define SharedXrenderReqs    $(XLIB)
  50. #define SharedXrandrReqs    $(XRENDERLIB) $(XLIB)
  51. #define SharedXcursorReqs    $(XRENDERLIB) $(XLIB)
  52. #define SharedxkbfileReqs    $(XLIBONLY)
  53. #define SharedxkbuiReqs    $(XLIBONLY) $(XKBFILELIB)
  54. #define SharedFontencReqs    $(BUILDLIBDIR)/libz.a
  55. #define SharedXfontcacheReqs    $(XLIB)
  56. #define SharedXfontReqs    stubs/libfntstubs.a $(FREETYPE2LIB)
  57. #define SharedXfixesReqs    $(XONLYLIB)
  58. #define SharedXdamageReqs    $(XONLYLIB)
  59. #define SharedXcompositeReqs    $(XONLYLIB)
  60. #define SharedXevieReqs        $(XONLYLIB) $(EXTENSIONLIB)
  61.  
  62. #define SharedXReqs    $(XTOOLLIB) $(XPLIB) $(XLIB) SharedThreadReqs
  63. #define SharedXmReqs    $(LDPRELIBS) SharedXReqs
  64. #define SharedMrmReqs    $(LDPRELIBS) $(XMLIB) SharedXReqs
  65. #define SharedUilReqs    $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs
  66.  
  67. /* #define SharedPamReqs */
  68. #define SharedTtReqs    $(LDPRELIBS) SharedXReqs $(CXXLIB)
  69. #define SharedDtSvcReqs    $(LDPRELIBS) $(TTLIB) $(XMLIB) SharedXReqs $(CXXLIB)
  70. #define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) SharedXReqs $(CXXLIB)
  71. #define SharedDtSearchReqs $(LDPRELIBS) -lisode
  72. #define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs 
  73. #define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -liconv
  74. #define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) SharedXReqs
  75. #define SharedDtTermReqs $(LDPRELIBS) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) SharedXReqs -liconv -lm
  76. #define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) SharedXReqs
  77. #define SharedCsaReqs    $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs
  78.  
  79. #if !defined(UseInstalled) && !defined(UseInstalledX11) \
  80.     && !defined(UseImports) && !defined(ImportX11)
  81.    /* we want this to be defined only when building X */
  82. # ifndef FixupLibReferences
  83. # define FixupLibReferences()                        @@\
  84. DEPXTOOLLIB = _UseCat($(USRLIBDIR),$(TOOLKITSRC),/libXt.a)
  85. # endif
  86. #endif
  87.  
  88. /* The inbuf paramter to iconv(3) is "const char**", not "char **" */
  89. ICONV_INBUF_DEFINE = -DICONV_INBUF_CONST
  90.  
  91. ICONVSYSLIB = -liconv
  92.  
  93. #if (OSMajorVersion > 4) || ((OSMajorVersion == 4) && (OSMinorVersion >= 2))
  94. DYNLIBSYSLIB = -ldl
  95. #endif
  96.  
  97.